<script setup>
import { ref, onMounted } from "vue";
const fileList = ref([]);
onMounted(async () => {
  fileList.value = await myApi.getFileList();
});
</script>

<template>
  <div>
    <img
      v-for="item in fileList"
      :src="'/uploads/' + item" />
  </div>
</template>

<style lang="scss" scoped></style>
